#ifndef _COMMON_H
#define _COMMON_H

#include <cmath>
#include <omp.h>

#include "Vector3.h"

namespace Pandora
{
	typedef CVector3 CColor;

	#define EPSILON 0.00001f
	#define PI 3.14159265358979323846f
	#define INF std::numeric_limits<float>::infinity()
	#define REFLECTIONS 10

	enum PRIMITIVES
	{
		SPHERE = 1,
		PLANE = 2,
		BOX = 3
	};

	enum CAMERAS
	{
		PINHOLE = 1
	};

	enum
	{
		MISS = 0,
		HIT = 1,
		INSIDE = -1
	};

}; //namespace Pandora

#endif /* _COMMON_H */